package ca.jerg.config;

public interface IErgConfig
{
	public static final String KEY_ANAEROBIC = "Anaerobic";
	public static final String KEY_VO2 = "VO2 Max";
	public static final String KEY_FT = "Threshold";
	public static final String KEY_TEMPO = "Tempo";
	public static final String KEY_DISTANCE = "Distance";
	public static final String KEY_REST = "Rest";
	public static final String KEY_RAMP = "Ramp";
	public static final String[] keys = { KEY_ANAEROBIC,KEY_VO2,KEY_FT,KEY_TEMPO,KEY_DISTANCE };
	
	public static final String KEY_MAX_POINT_TIME = "Max Point Time";
	public static final String KEY_MAX_POINT_WATT = "Max Point Watt";
	public static final String KEY_SHOW_GRIDS = "Show Grids";
	public static final String KEY_X_AXIS_TICK_SPACE = "X Axis Tick Space";
	public static final String KEY_Y_AXIS_TICK_SPACE = "Y Axis Tick Space";
	public static final String KEY_DATA_LINE_COLOUR = "Data Line Colour";
	public static final String KEY_DATA_POINT_COLOUR = "Data Point Colour";
	public static final String KEY_DATA_LINE_WIDTH = "Data Line Width";
	public static final String KEY_DATA_POINT_RADIUS = "Data Point Radius";

	public void defaults();
	
	public void put( String key, String value );
	public void putBoolean( String key, boolean value );
	public void putDouble( String key, double value );
	public void putInt( String key, int value );
	
	public String getString( String key, String def );
	public boolean getBoolean( String key, boolean def );
	public double getDouble( String key, double def );
	public int getInt( String key, int def );
	
	//public boolean importConfig( String path );
	//public boolean exportConfig( String path );
}
